<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
        <title>Introduction | Gitbook 入门教程</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="GitBook 是一个基于 Node.js 的命令行工具，可使用 Github/Git 和 Markdown 来制作精美的电子书。">
        <meta name="generator" content="GitBook 2.0.1">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    
    
    <link rel="next" href="./howtouse/index.html" />
    
    

        
    </head>
    <body>
        
        
    <link rel="stylesheet" href="gitbook/style.css">
    
    

        
    <div class="book" data-level="0" data-basepath="." data-revision="Mon Apr 13 2015 22:06:22 GMT+0800 (中国标准时间)">
    

<div class="book-summary">
    <div class="book-search">
        <input type="text" placeholder="Type to search" class="form-control" />
    </div>
    <ul class="summary">
        
        
        
        

        

        
    
        <li class="chapter active" data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="howtouse/index.html">
            
                
                    <a href="./howtouse/index.html">
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        基本安装
                    </a>
                
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="howtouse/Nodejsinstall.html">
            
                
                    <a href="./howtouse/Nodejsinstall.html">
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        Node.js安装
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="howtouse/gitbookinstall.html">
            
                
                    <a href="./howtouse/gitbookinstall.html">
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        Gitbook安装
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="howtouse/gitbookcli.html">
            
                
                    <a href="./howtouse/gitbookcli.html">
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        Gitbook命令行速览
                    </a>
                
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="book/index.html">
            
                
                    <a href="./book/index.html">
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        图书编辑
                    </a>
                
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="book/gitbook-cli.html">
            
                
                    <a href="./book/gitbook-cli.html">
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        gitbook命令行&amp;markdown编辑
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="book/editor.html">
            
                
                    <a href="./book/editor.html">
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        gitbook editor编辑
                    </a>
                
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="output/index.html">
            
                
                    <a href="./output/index.html">
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        图书输出
                    </a>
                
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="output/outfile.html">
            
                
                    <a href="./output/outfile.html">
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        输出为静态网站
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="output/pdfandebook.html">
            
                
                    <a href="./output/pdfandebook.html">
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        输出PDF
                    </a>
                
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="publish/index.html">
            
                
                    <a href="./publish/index.html">
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        发布
                    </a>
                
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1" data-path="publish/gitbook.html">
            
                
                    <a href="./publish/gitbook.html">
                        <i class="fa fa-check"></i>
                        
                            <b>4.1.</b>
                        
                        发布到gitbook.com
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="publish/github.html">
            
                
                    <a href="./publish/github.html">
                        <i class="fa fa-check"></i>
                        
                            <b>4.2.</b>
                        
                        发布到github仓库
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="publish/gitpages.html">
            
                
                    <a href="./publish/gitpages.html">
                        <i class="fa fa-check"></i>
                        
                            <b>4.3.</b>
                        
                        发布到Github Pages
                    </a>
                
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5" data-path="end/index.html">
            
                
                    <a href="./end/index.html">
                        <i class="fa fa-check"></i>
                        
                            <b>5.</b>
                        
                        结束
                    </a>
                
            
            
        </li>
    


        
        <li class="divider"></li>
        <li>
            <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                Published with GitBook
            </a>
        </li>
        
    </ul>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header">
    <!-- Actions Left -->
    <a href="#" class="btn pull-left toggle-summary" aria-label="Table of Contents"><i class="fa fa-align-justify"></i></a>
    <a href="#" class="btn pull-left toggle-search" aria-label="Search"><i class="fa fa-search"></i></a>
    
    <div id="font-settings-wrapper" class="dropdown pull-left">
        <a href="#" class="btn toggle-dropdown" aria-label="Font Settings"><i class="fa fa-font"></i>
        </a>
        <div class="dropdown-menu font-settings">
    <div class="dropdown-caret">
        <span class="caret-outer"></span>
        <span class="caret-inner"></span>
    </div>

    <div class="buttons">
        <button type="button" id="reduce-font-size" class="button size-2">A</button>
        <button type="button" id="enlarge-font-size" class="button size-2">A</button>
    </div>

    <div class="buttons font-family-list">
        <button type="button" data-font="0" class="button">Serif</button>
        <button type="button" data-font="1" class="button">Sans</button>
    </div>

    <div class="buttons color-theme-list">
        <button type="button" id="color-theme-preview-0" class="button size-3" data-theme="0">White</button>
        <button type="button" id="color-theme-preview-1" class="button size-3" data-theme="1">Sepia</button>
        <button type="button" id="color-theme-preview-2" class="button size-3" data-theme="2">Night</button>
    </div>
</div>

    </div>

    <!-- Actions Right -->
    
    <div class="dropdown pull-right">
        <a href="#" class="btn toggle-dropdown" aria-label="Share"><i class="fa fa-share-alt"></i>
        </a>
        <div class="dropdown-menu font-settings dropdown-left">
            <div class="dropdown-caret">
                <span class="caret-outer"></span>
                <span class="caret-inner"></span>
            </div>
            <div class="buttons">
                <button type="button" data-sharing="twitter" class="button">
                    Share on Twitter
                </button>
                <button type="button" data-sharing="google-plus" class="button">
                    Share on Google
                </button>
                <button type="button" data-sharing="facebook" class="button">
                    Share on Facebook
                </button>
                <button type="button" data-sharing="weibo" class="button">
                    Share on Weibo
                </button>
                <button type="button" data-sharing="instapaper" class="button">
                    Share on Instapaper
                </button>
            </div>
        </div>
    </div>
    

    
    <a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Google"><i class="fa fa-google-plus"></i></a>
    
    
    <a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Facebook"><i class="fa fa-facebook"></i></a>
    
    
    <a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Twitter"><i class="fa fa-twitter"></i></a>
    
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >Gitbook 入门教程</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="gitbook-%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B">Gitbook &#x5165;&#x95E8;&#x6559;&#x7A0B;</h1>
<h4 id="%E6%9C%AC%E4%B9%A6%E5%8F%82%E8%80%83%E5%A6%82%E4%B8%8B%E4%B8%A4%E7%AF%87%E6%96%87%E7%AB%A0%E6%95%B4%E7%90%86%E8%80%8C%E6%88%90%EF%BC%8C%E5%B9%B6%E4%B8%94%E6%9C%89%E6%89%80%E4%BF%AE%E6%94%B9">&#x672C;&#x4E66;&#x53C2;&#x8003;&#x5982;&#x4E0B;&#x4E24;&#x7BC7;&#x6587;&#x7AE0;&#x6574;&#x7406;&#x800C;&#x6210;&#xFF0C;&#x5E76;&#x4E14;&#x6709;&#x6240;&#x4FEE;&#x6539;:</h4>
<ol>
<li>&#x5728;&#x7EBF;&#x9605;&#x8BFB;:<a href="http://wanqingwong.com/gitbook-zh/" target="_blank">http://wanqingwong.com/gitbook-zh/</a></li>
<li>&#x5728;&#x7EBF;&#x9605;&#x8BFB;:<a href="http://www.chengweiyang.cn/gitbook" target="_blank">http://www.chengweiyang.cn/gitbook</a></li>
</ol>
<blockquote>
<p>GitBook &#x662F;&#x4E00;&#x4E2A;&#x57FA;&#x4E8E; Node.js &#x7684;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#xFF0C;&#x53EF;&#x4F7F;&#x7528; Github/Git &#x548C; Markdown &#x6765;&#x5236;&#x4F5C;&#x7CBE;&#x7F8E;&#x7684;&#x7535;&#x5B50;&#x4E66;&#x3002;</p>
</blockquote>
<p>&#x672C;&#x4E66;&#x5C06;&#x7B80;&#x5355;&#x4ECB;&#x7ECD;&#x5982;&#x4F55;&#x5B89;&#x88C5;&#x3001;&#x7F16;&#x5199;&#x3001;&#x751F;&#x6210;&#x3001;&#x53D1;&#x5E03;&#x4E00;&#x672C;&#x5728;&#x7EBF;&#x56FE;&#x4E66;,&#x4E14;&#x793A;&#x4F8B;&#x5168;&#x90E8;&#x5728;windows&#x4E0B;&#x5C55;&#x793A;(&#x5176;&#x4ED6;&#x7CFB;&#x7EDF;&#x5DEE;&#x4E0D;&#x591A;&#x4E00;&#x81F4;):</p>
<h2 id="%E6%94%AF%E6%8C%81%E6%A0%BC%E5%BC%8F">&#x652F;&#x6301;&#x683C;&#x5F0F;</h2>
<p>GitBook&#x652F;&#x6301;&#x8F93;&#x51FA;&#x591A;&#x79CD;&#x6587;&#x6863;&#x683C;&#x5F0F;&#xFF0C;&#x5982;&#xFF1A;</p>
<ul>
<li>&#x9759;&#x6001;&#x7AD9;&#x70B9;&#xFF1A;GitBook&#x9ED8;&#x8BA4;&#x8F93;&#x51FA;&#x8BE5;&#x79CD;&#x683C;&#x5F0F;&#xFF0C;&#x751F;&#x6210;&#x7684;&#x9759;&#x6001;&#x7AD9;&#x70B9;&#x53EF;&#x76F4;&#x63A5;&#x6258;&#x7BA1;&#x642D;&#x8F7D;Github Pages&#x670D;&#x52A1;&#x4E0A;&#xFF1B;</li>
<li>PDF&#xFF1A;&#x9700;&#x8981;&#x5B89;&#x88C5;<a href="http://calibre-ebook.com/download" target="_blank">ebook-concert</a>&#x4F9D;&#x8D56;&#xFF1B;</li>
<li>eBook&#xFF1A;&#x9700;&#x8981;&#x5B89;&#x88C5;<a href="http://calibre-ebook.com/download" target="_blank">ebook-concert</a>&#xFF1B;</li>
<li>&#x5355;HTML&#x7F51;&#x9875;&#xFF1A;&#x652F;&#x6301;&#x5C06;&#x5185;&#x5BB9;&#x8F93;&#x51FA;&#x4E3A;&#x5355;&#x9875;&#x7684;HTML&#xFF0C;&#x4E0D;&#x8FC7;&#x4E00;&#x822C;&#x7528;&#x5728;&#x5C06;&#x7535;&#x5B50;&#x4E66;&#x683C;&#x5F0F;&#x8F6C;&#x6362;&#x4E3A;PDF&#x6216;eBook&#x7684;&#x4E2D;&#x95F4;&#x8FC7;&#x7A0B;&#xFF1B;</li>
<li>JSON&#xFF1A;&#x4E00;&#x822C;&#x7528;&#x4E8E;&#x7535;&#x5B50;&#x4E66;&#x7684;&#x8C03;&#x8BD5;&#x6216;&#x5143;&#x6570;&#x636E;&#x63D0;&#x53D6;&#x3002;</li>
</ul>
<h2 id="gitbook%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80">Gitbook&#x9879;&#x76EE;&#x5730;&#x5740;</h2>
<ul>
<li>GitBook&#x9879;&#x76EE;&#x5B98;&#x7F51;&#xFF1A;<a href="http://www.gitbook.io" target="_blank">http://www.gitbook.io</a></li>
<li>GitBook Github&#x5730;&#x5740;&#xFF1A;<a href="https://github.com/GitbookIO/gitbook" target="_blank">https://github.com/GitbookIO/gitbook</a></li>
</ul>
<h2 id="%E6%9C%AC%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80">&#x672C;&#x9879;&#x76EE;&#x5730;&#x5740;</h2>
<ul>
<li>&#x4ED3;&#x5E93;&#xFF1A;<a href="https://github.com/yuzeshan/gitbook-studying" target="_blank">https://github.com/yuzeshan/gitbook-studying</a></li>
<li>&#x5728;&#x7EBF;&#x9605;&#x8BFB;&#xFF1A;<a href="http://yuzeshan.gitbooks.io/gitbook-studying/content/" target="_blank">http://yuzeshan.gitbooks.io/gitbook-studying/content/</a></li>
</ul>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        
        <a href="./howtouse/index.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 基本安装"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"fontSettings":{"theme":null,"family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
